<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Future Living Lab</title>
</head>


<f:view>
<h:form>
<center>
<h:graphicImage alt="SUTD" url="/SUTD_Logo.jpg" style="height: 190px; width: 357px; "/>
	
		<h1><h:outputLabel value="Future Living Lab"></h:outputLabel></h1>
				<h:panelGrid columns="2" border="1">
					<h3>Select a mote</h3>
					<h:selectOneMenu value="#{fLabBean.selectedMote}" id="dD" > <f:selectItems value="#{fLabBean.moteList}"/></h:selectOneMenu>
					<h:outputText></h:outputText>
					<h:commandButton value="Submit" action="#{fLabBean.valueChanged}"></h:commandButton>
					<h:outputText value="#{fLabBean.message }"></h:outputText>

				</h:panelGrid>







			</center>
</h:form>
		

	</f:view>
</body>
</html>